const { resolve } = require('path')
const { defineConfig, searchForWorkspaceRoot } = require('vite')

module.exports = defineConfig({
  mode: 'production',
  server: {
    open: 'index.html'
  },
  publicDir: 'public',
  build: {
    minify: 'terser',
    emptyOutDir: true
  }
})